<template>
  <div>
    <h1>One</h1>
    <button @click="$emit('hello', 2)">点击触发hello</button>
    <button @click="$emit('world', 4)">点击触发world</button>
  </div>
</template>

<script>
  export default {
    name: "One",
    mounted() {},

    data() {
      return {};
    },
  };
</script>

<style></style>
